package com.ranchuanyin.schoolcat.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Builder;
import lombok.Data;

@Builder
@Data
public class SendMessageDto {
    @NotNull(message = "fromUserId不能为空")
    private String fromUserId;
    @NotNull(message = "toUserId")
    private String toUserId;
    private String username;
    private String message;
    private String avatar;
    private Integer type;
    private String id;
}
